/**
 * 工具类
 * @function cookie 
*/

import Cookies from 'js-cookie'


const TokenKey = 'Token'
const token = '19991022'

// 获取 cookie
export const getToken = () => {
  return Cookies.get(TokenKey)
}

// 设置 cookie
export const setToken = () => {
  return Cookies.set(TokenKey, token)
}

// 移除 cookie
export const removeToken = () => {
  return Cookies.remove(TokenKey)
}